package com.javaee.term.service;

import com.javaee.term.dto.ContactDetailDto;
import com.javaee.term.model.ContactDetail;
import com.javaee.term.service.base.IBaseService;

import java.util.List;


public interface ContactDetailService extends IBaseService<ContactDetail> {
    //查询合同对应的所有合同商品详情
    ContactDetailDto findContactDetail(String contactId);

    List<ContactDetail> findDetails(String contactId);


    ContactDetail findByContactProduct(String contactId,String productId);

}
